DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportEditing<T> Interface / CanInsert Method
The index where the items would be inserted.
The item that would be inserted.

In This Topic
    CanInsert Method (ISupportEditing<T>)
    In This Topic
    Determines whether a new item can be inserted in the collection at the specified index.
    Syntax
    'Declaration
     
    Function CanInsert( _
       ByVal index As Integer, _
       ByVal item As T _
    ) As Boolean
    bool CanInsert( 
       int index,
       T item
    )

    Parameters

    index
    The index where the items would be inserted.
    item
    The item that would be inserted.
    See Also